package org.lionel.design.factory.factorymethod;

public class Main {
    public static void main(String[] args) {
        AbstractFactory factory1 = new ConcreteFactory1();
        factory1.newProduct().show();
        AbstractFactory factory2 = new ConcreteFactory2();
        factory2.newProduct().show();

    }
}
